package com.my.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my.admin.entity.UserRole;
import org.apache.ibatis.annotations.Param;

/**
 * @author my
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    int batchInsert(@Param("userId") long userId, @Param("roles") Long[] roles);

}
